import request from '@/utils/request'

// 接口表列表
export function apiInterfaceLists(params: any) {
    return request.get({ url: '/interface.interface/lists', params })
}

// 添加接口表
export function apiInterfaceAdd(params: any) {
    return request.post({ url: '/interface.interface/add', params })
}

// 编辑接口表
export function apiInterfaceEdit(params: any) {
    return request.post({ url: '/interface.interface/edit', params })
}

// 接口表状态
export function apiInterfaceStatus(params: any) {
    return request.post({ url: '/interface.interface/updateStatus', params })
}

// 删除接口表
export function apiInterfaceDelete(params: any) {
    return request.post({ url: '/interface.interface/delete', params })
}

// 接口表详情
export function apiInterfaceDetail(params: any) {
    return request.get({ url: '/interface.interface/detail', params })
}

// 接口表分类列表
export function apiInterfaceListByCate(params: any) {
    return request.get({ url: '/interface.interface/listByCate', params })
}
